package com.security.demo.entity;

/**
 * @description:
 * @author: zhsong
 * @time: 2021/9/6 13:25
 */
public class BtUserPrivilege {
    private int id;
    private String userId;
    private String name;
    private String operationName;

    public BtUserPrivilege(int id, String userId, String name, String operationName) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.operationName = operationName;
    }

    public BtUserPrivilege() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    @Override
    public String toString() {
        return "BtUserPrivilege{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", name='" + name + '\'' +
                ", operationName='" + operationName + '\'' +
                '}';
    }
}
